package com.neuedu.my12306.entity;

import java.util.Date;

public class UserInfo {
	String userName;
	String userPass;
	String trueName ;    
	String  sex;          
	String  province;      
	String  city;         
	String  cardType;
	String  idNumber;
	String  passengerType;
	String  tips;
	Date  birthDate;
	//-1超级管理员，1-管理员，0-普通用户
	int userPower;
	String headImage;
	
	
	
	public void setUserPower(int userPower) {
		this.userPower = userPower;
	}
	public UserInfo(String userName, String userPass, String trueName, String sex, String province, String city,
			String cardType, String idNumber, String passengerType, String tips, Date birthDate, int userPower) {
		super();
		this.userName = userName;
		this.userPass = userPass;
		this.trueName = trueName;
		this.sex = sex;
		this.province = province;
		this.city = city;
		this.cardType = cardType;
		this.idNumber = idNumber;
		this.passengerType = passengerType;
		this.tips = tips;
		this.birthDate = birthDate;
		this.userPower = userPower;
	}
	public UserInfo(String userName, String userPass, String trueName, String sex, String province, String city,
			String cardType, String idNumber, String passengerType, String tips, Date birthDate, int userPower,
			String headImage) {
		super();
		this.userName = userName;
		this.userPass = userPass;
		this.trueName = trueName;
		this.sex = sex;
		this.province = province;
		this.city = city;
		this.cardType = cardType;
		this.idNumber = idNumber;
		this.passengerType = passengerType;
		this.tips = tips;
		this.birthDate = birthDate;
		this.userPower = userPower;
		this.headImage = headImage;
	}
	public String getHeadImage() {
		return headImage;
	}
	public void setHeadImage(String headImage) {
		this.headImage = headImage;
	}
	public String getUserPass() {
		return userPass;
	}
	public void setUserPass(String userPass) {
		this.userPass = userPass;
	}


	public UserInfo() {
		super();
	}


	public int getUserPower() {
		return userPower;
	}
	public UserInfo(String userName, String userpass) {
		super();
		this.userName = userName;
		this.userPass = userpass;
		
	}
	public UserInfo(String userName, String userPass, String trueName, String sex, String province, String city,
			String cardType, String idNumber, String passengerType, String tips, Date birthDate) {
		super();
		this.userName = userName;
		this.userPass = userPass;
		this.trueName = trueName;
		this.sex = sex;
		this.province = province;
		this.city = city;
		this.cardType = cardType;
		this.idNumber = idNumber;
		this.passengerType = passengerType;
		this.tips = tips;
		this.birthDate = birthDate;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getUserpass() {
		return userPass;
	}
	public void setUserpass(String userpass) {
		this.userPass = userpass;
	}
	public String getTrueName() {
		return trueName;
	}
	public void setTrueName(String trueName) {
		this.trueName = trueName;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getProvince() {
		return province;
	}
	public void setProvince(String province) {
		this.province = province;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public String getCardType() {
		return cardType;
	}
	public void setCardType(String cardType) {
		this.cardType = cardType;
	}
	public String getIdNumber() {
		return idNumber;
	}
	public void setIdNumber(String idNumber) {
		this.idNumber = idNumber;
	}
	public String getPassengerType() {
		return passengerType;
	}
	public void setPassengerType(String passengerType) {
		this.passengerType = passengerType;
	}
	public String getTips() {
		return tips;
	}
	public void setTips(String tips) {
		this.tips = tips;
	}
	public Date getBirthDate() {
		return birthDate;
	}
	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}
	@Override
	public String toString() {
		return "UserInfo [userName=" + userName + ", userPass=" + userPass + ", trueName=" + trueName + ", sex=" + sex
				+ ", province=" + province + ", city=" + city + ", cardType=" + cardType + ", idNumber=" + idNumber
				+ ", passengerType=" + passengerType + ", tips=" + tips + ", birthDate=" + birthDate + ", userPower="
				+ userPower + ", headImage=" + headImage + "]";
	}


	
	
}
